package cn.edu.tju.wallet.dto;

import java.math.BigDecimal;

public class OverdraftRuleDTO {
    private String name;                // 规则名称
    private Integer minVipLevel;        // 最小VIP等级
    private BigDecimal overdraftLimit;  // 透支限额
    private BigDecimal dailyInterestRate; // 日利率
    private Integer gracePeriodDays;    // 宽限期天数

    // Getter、Setter（接收前端入参需）
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public Integer getMinVipLevel() { return minVipLevel; }
    public void setMinVipLevel(Integer minVipLevel) { this.minVipLevel = minVipLevel; }
    public BigDecimal getOverdraftLimit() { return overdraftLimit; }
    public void setOverdraftLimit(BigDecimal overdraftLimit) { this.overdraftLimit = overdraftLimit; }
    public BigDecimal getDailyInterestRate() { return dailyInterestRate; }
    public void setDailyInterestRate(BigDecimal dailyInterestRate) { this.dailyInterestRate = dailyInterestRate; }
    public Integer getGracePeriodDays() { return gracePeriodDays; }
    public void setGracePeriodDays(Integer gracePeriodDays) { this.gracePeriodDays = gracePeriodDays; }
}